var arr=[1,2,3,4];
console.log(arr[4]);
arr[4]='terry';
console.log(arr,arr.length);